<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
  </head>
  <body>
    <!-- 已知⼀个数组序列，全部为正整数，找出其中任意两个数相差最⼤的组合 -->
    <script>
      let arr = [5, 3, 8, 45, 95, 136]
      //获取数组中最大值
      console.log(Math.max.apply(null, arr))
      //获取数组中最大值
      console.log(Math.min.apply(null, arr))
    </script>
  </body>
</html>
